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


Performing analysis on: 4FGL_J0225.6-4502_daily_bin1472
RA = 36.4048, Dec = -45.0366
tmin = 620870401, tmax = 621129601
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='386854', job_status='RUN', time_executed='2021-08-15 21:43:39.922461', time_epoch_executed='1629089019.92' WHERE source_name='4FGL J0225.6-4502' and cadence='daily' and bin_id='1472'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/386854

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/386854/ft1_4FGL_J0225.6-4502_daily_bin1472.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/386854/ft2_4FGL_J0225.6-4502_daily_bin1472.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/386854/ft1_4FGL_J0225.6-4502_daily_bin1472.fits outfile=/scratch/kocevski/386854/ft1_filteredMKT_4FGL_J0225.6-4502_daily_bin1472.fits ra=36.4048 dec=-45.0366 rad=12.0 tmin=620870401.0 tmax=621129601.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.99
user 3.01
sys 0.91

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/386854/ft2_4FGL_J0225.6-4502_daily_bin1472.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/386854/ft2_4FGL_J0225.6-4502_daily_bin1472.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/386854/ft1_filteredMKT_4FGL_J0225.6-4502_daily_bin1472.fits evtable="EVENTS" outfile="/scratch/kocevski/386854/ft1_filtered_4FGL_J0225.6-4502_daily_bin1472.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.25
user 0.33
sys 0.88

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/386854/ft1_filtered_4FGL_J0225.6-4502_daily_bin1472.fits" evtable="EVENTS" scfile=/scratch/kocevski/386854/ft2_4FGL_J0225.6-4502_daily_bin1472.fits sctable="SC_DATA" outfile=/scratch/kocevski/386854/ltcube_620870401_621129601_4FGL_J0225.6-4502_daily_bin1472.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/386854/ft2_4FGL_J0225.6-4502_daily_bin1472.fits
.....................!
real 14.35
user 13.19
sys 1.04

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/386854/ft1_filtered_4FGL_J0225.6-4502_daily_bin1472.fits evtable="EVENTS" scfile=/scratch/kocevski/386854/ft2_4FGL_J0225.6-4502_daily_bin1472.fits sctable="SC_DATA" expcube=/scratch/kocevski/386854/ltcube_620870401_621129601_4FGL_J0225.6-4502_daily_bin1472.fits outfile=/scratch/kocevski/386854/expmap_620870401_621129601_4FGL_J0225.6-4502_daily_bin1472.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/386854/ltcube_620870401_621129601_4FGL_J0225.6-4502_daily_bin1472.fits
.....................!
real 192.31
user 185.72
sys 6.01

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 180 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 J0225.6-4502 @ 36.4048 -45.0366

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/386854/ft1_filtered_4FGL_J0225.6-4502_daily_bin1472.fits scfile=/scratch/kocevski/386854/ft2_4FGL_J0225.6-4502_daily_bin1472.fits outfile=/scratch/kocevski/386854/cmap_620870401_621129601_4FGL_J0225.6-4502_daily_bin1472.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=36.4048 yref=-45.0366 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.26
user 0.38
sys 0.85

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/386854/ft1_filtered_4FGL_J0225.6-4502_daily_bin1472.fits scfile=/scratch/kocevski/386854/ft2_4FGL_J0225.6-4502_daily_bin1472.fits outfile=/scratch/kocevski/386854/cmap_HighResolution_620870401_621129601_4FGL_J0225.6-4502_daily_bin1472.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=36.4048 yref=-45.0366 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.26
user 0.38
sys 0.86

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/386854/ft1_filtered_4FGL_J0225.6-4502_daily_bin1472.fits evtable="EVENTS" scfile=/scratch/kocevski/386854/ft2_4FGL_J0225.6-4502_daily_bin1472.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/386854/Model_4FGL_J0225.6-4502_daily_bin1472.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/386854/ft1_filtered_4FGL_J0225.6-4502_daily_bin1472.fits.....................!
real 96.98
user 93.17
sys 2.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/386854/ft1_filtered_4FGL_J0225.6-4502_daily_bin1472.fits', '/scratch/kocevski/386854/ft2_4FGL_J0225.6-4502_daily_bin1472.fits', expMap='/scratch/kocevski/386854/expmap_620870401_621129601_4FGL_J0225.6-4502_daily_bin1472.fits', expCube='/scratch/kocevski/386854/ltcube_620870401_621129601_4FGL_J0225.6-4502_daily_bin1472.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/386854/Model_4FGL_J0225.6-4502_daily_bin1472.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0225.6-4502'

4FGL J0225.6-4502
   Spectrum: PowerLaw
284    Prefactor:  2.072e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  2.479e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  1.057e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/386854/ft1_filtered_4FGL_J0225.6-4502_daily_bin1472.fits
Spacecraft file(s): /scratch/kocevski/386854/ft2_4FGL_J0225.6-4502_daily_bin1472.fits
Exposure map: /scratch/kocevski/386854/expmap_620870401_621129601_4FGL_J0225.6-4502_daily_bin1472.fits
Exposure cube: /scratch/kocevski/386854/ltcube_620870401_621129601_4FGL_J0225.6-4502_daily_bin1472.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/386854/Model_4FGL_J0225.6-4502_daily_bin1472.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) = 4512.08999458

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.114       1.0000         .10000E-03   10000.    
     2 'norm      '    19.614       1.0000         .10000E-03   10000.    
     3 'Prefactor '    50.693       1.0000         .10000E-03   10000.    
     4 'Prefactor '    25.029       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .28064E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    72.689       1.0000         .10000E-03   10000.    
     7 'norm      '    .11864E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    35.459       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10170E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    15.016       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    40.094       1.0000         .10000E-03   10000.    
    14 'norm      '    3.6214       1.0000         .10000E-03   10000.    
    15 'norm      '    .12190E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    33.758       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.6330       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10448E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.3173       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .12919E-01   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    7.4085       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    20.303       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .87111       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0937       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4512.065     FROM MIGRAD    STATUS=CONVERGED    689 CALLS     4007 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.257        80.297        .21795E-07    .18365E-04
   2  norm          19.617        14.951       -.47341E-08   -.16585E-04
   3  Prefactor     50.675        61.503        .38033E-07   -.25478E-04
   4  Prefactor     25.046        14.820        .24847E-06    .57190E-04
   5  Prefactor     .10040E-03    11.392        .31251E-05** at limit **
   6  norm          72.852        85.175        .16367E-05    .16263E-03
   7  norm          .10003E-03    9.6401        .58927E-05** at limit **
   8  Prefactor     .10000E-03    4.2435        .42170E-07** at limit **
   9  Prefactor     35.597        49.269       -.12789E-04   -.36463E-03
  10  Prefactor     .10000E-03    14.908        .11737E-05** at limit **
  11  norm          15.017        3.4416       -.12330E-06   -.86108E-03
  12  Prefactor     .10000E-03    57.479       -.44579E-06** at limit **
  13  Prefactor     40.106        36.780        .24823E-06   -.13398E-03
  14  norm          3.6208        2.4142        .36941E-07   -.18311E-03
  15  norm          .21632E-03    1.9007        .60513E-06** at limit **
  16  Prefactor     33.759        22.231        .13679E-06   -.21948E-03
  17  Prefactor     1.6399        87.393        .28041E-05   -.11520E-03
  18  Prefactor     .10000E-03    25.020       -.76577E-07** at limit **
  19  norm          2.3179        1.6426        .32632E-07   -.31088E-03
  20  Prefactor     .10000E-03    96.026       -.53080E-06** at limit **
  21  Prefactor     .44550E-01    2.5974        .17673E-06   -.22661E-03
  22  Prefactor     .10000E-03    6.8431       -.15446E-06** at limit **
  23  Prefactor     7.4093        11.842        .54216E-07   -.20684E-04
  24  Prefactor     .10000E-03    2.1633       -.45912E-07** at limit **
  25  Prefactor     20.308        23.549        .11609E-06   -.32503E-04
  26  Normalizat    .87087        .22637        .32978E-07   -.66619E-03
  27  Prefactor     1.0937        .22765       -.29144E-06   -.62220E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2567
  norm       = 19.6169
  Prefactor  = 50.675
  Prefactor  = 25.0457
  Prefactor  = 0.000100395
  norm       = 72.8523
  norm       = 0.000100029
  Prefactor  = 0.0001
  Prefactor  = 35.5967
  Prefactor  = 0.000100001
  norm       = 15.017
  Prefactor  = 0.000100001
  Prefactor  = 40.1064
  norm       = 3.62085
  norm       = 0.000216321
  Prefactor  = 33.7588
  Prefactor  = 1.63991
  Prefactor  = 0.0001
  norm       = 2.31787
  Prefactor  = 0.0001
  Prefactor  = 0.0445498
  Prefactor  = 0.0001
  Prefactor  = 7.40931
  Prefactor  = 0.0001
  Prefactor  = 20.3078
  Normalizat = 0.870874
  Prefactor  = 1.09368
 **********
 **   18 **HESSE 
 **********

 FCN=   4512.065     FROM HESSE     STATUS=OK           500 CALLS     4507 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.257        80.030        .12018E-03   -1.5037    
   2  norm          19.617        14.943        .90437E-04   -1.4822    
   3  Prefactor     50.675        61.514        .56326E-04   -1.4283    
   4  Prefactor     25.046        14.830        .80069E-04   -1.4707    
   5  Prefactor     .10040E-03    69.988        .40034E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          72.852        84.790        .23545E-03   -1.3999    
   7  norm          .10003E-03    21.440        .35982E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.2438        .13514E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     35.597        51.999        .67300E-04   -1.4514    
  10  Prefactor     .10000E-03    15.228        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          15.017        3.4192        .55790E-04   -1.4933    
  12  Prefactor     .10000E-03    57.664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     40.106        36.640        .63303E-04   -1.4441    
  14  norm          3.6208        2.4122        .82085E-04   -1.5327    
  15  norm          .21632E-03    7.0055        .28242E-01   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     33.759        22.245        .68969E-04   -1.4545    
  17  Prefactor     1.6399        88.211        .33086E-03   -1.5452    
  18  Prefactor     .10000E-03    25.030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.3179        1.6296        .65889E-04   -1.5403    
  20  Prefactor     .10000E-03    96.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .44550E-01    4.3171        .38794E-01   -1.5666    
  22  Prefactor     .10000E-03    6.8765        .17155E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.4093        11.833        .14735E-03   -1.5163    
  24  Prefactor     .10000E-03    2.1651        .96447E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     20.308        23.658        .88890E-04   -1.4806    
  26  Normalizat    .87087        .26979        .27436E-03   -.97491    
  27  Prefactor     1.0937        .26939        .26810E-03   -.89669    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34319e-08
Minuit parameter uncertainties:
  1  60.1435
  2  14.9461
  3  61.5916
  4  14.8318
  5  0.0105299
  6  84.9306
  7  0.00157715
  8  2.52995e-06
  9  52.0656
  10  0.000238962
  11  3.41929
  12  0.000568305
  13  36.6603
  14  2.41229
  15  0.0570991
  16  22.25
  17  24.0916
  18  1.52325e-05
  19  1.62967
  20  0.000392885
  21  0.87618
  22  2.46303e-05
  23  11.8371
  24  3.9788e-06
  25  23.6693
  26  0.270208
  27  0.269727
Done.

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

Extracting fit parameters...

4FGL J0225.6-4502
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  5.683e-04  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  2.479e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  1.057e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  1.094e+00  2.697e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  8.709e-01  2.702e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 36.405 -45.037
Photon Flux Upper Limit: 1.38e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.07e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/386854/likelihoodResults_620870401_621129601_4FGL_J0225.6-4502_daily_bin1472.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) = 4512.06483483
delta logL = -8.25733304737e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4512.06475244
delta logL = -1.78078153112e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4221       1.0000          .0000       10.000    
     3 'Normalizat'    .87088       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0937       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+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=   4512.065     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      292 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    7035.9        .18142E-02** at limit **
   2  Index         2.4927        6.4163        .50000       -.14651E-04
   3  Normalizat    .87088        .51922E-01    .27436E-03    .55525E-05
   4  Prefactor     1.0937        .56457E-01    .26810E-03    .42405E-07
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100014
  Index      = 2.49266
  Normalizat = 0.870877
  Prefactor  = 1.09368
 **********
 **   18 **HESSE 
 **********

 FCN=   4512.065     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      321 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    9341.7        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4927        7.1118        .50000       -.52529    
   3  Normalizat    .87088        .19282        .10975E-04   -.97491    
   4  Prefactor     1.0937        .20967        .10724E-04   -.89669    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.01022e-10
Minuit parameter uncertainties:
  1  0.0279006
  2  67.1941
  3  0.192968
  4  0.209831
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/386854': 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) = 4512.06475221
delta logL = 4.71982275485e-08

Extracting fit parameters...

4FGL J0225.6-4502
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  2.790e-02  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  2.493e+00  6.719e+01  0.000e+00  1.000e+01 (-1.000e+00)
286        Scale:  1.057e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  1.094e+00  2.098e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  8.709e-01  1.930e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 36.405 -45.037

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/386854/cmap_HighResolution_620870401_621129601_4FGL_J0225.6-4502_daily_bin1472.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.07e-02', job_status='DONE', photon_flux_upper_limit='1.38e-07', time_completed='2021-08-15 21:56:19.001793', job_id='386854', GAL2='1.09', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1629089779.0', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='4.72e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1472' AND source_name='4FGL J0225.6-4502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 21:56:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 386854: <4FGL_J0225.6-4502_daily_bin1472> in cluster <slac> Done

Job <4FGL_J0225.6-4502_daily_bin1472> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Aug 15 21:40:28 2021
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 21:40:59 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 15 21:40:59 2021
Terminated at Sun Aug 15 21:56:19 2021
Results reported at Sun Aug 15 21:56:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0225.6-4502_daily_bin1472 36.4048 -45.0366 620870401 621129601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0225.6-4502 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   760.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   920 sec.
    Turnaround time :                            951 sec.

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

